package com.yxinsur.imc.business.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.yxinsur.imc.common.annotation.Excel;
import com.yxinsur.imc.common.core.domain.BaseImcEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 保险产品库(险种)对象 imc_repo_ins
 * 
 * @author imc
 * @date 2021-03-26
 */
public class ImcRepoIns extends BaseImcEntity
{
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Long id;

    /** 供应商代码 供应商代码 */
    @Excel(name = "供应商代码 ID")
    private Long repoSupplierId;

    /** 全局唯一险种标识-鲸云产品库代码 */
    @Excel(name = "全局唯一险种标识-鲸云产品库代码")
    private String insGuid;

    /** 险种编码 */
    @Excel(name = "险种编码")
    private String insCode;

    /** 保险公司险种编码 */
    @Excel(name = "保险公司险种编码")
    private String supplierInsCode;

    /** 险种全名 */
    @Excel(name = "险种全名")
    private String riskName;

    /** 渠道代码[personal,internet,net]个险 互联网 网销直签 */
    @Excel(name = "渠道代码[personal,internet,net]个险 互联网 网销直签")
    private String channelCode;

    /** 险种简称 */
    @Excel(name = "险种简称")
    private String riskShortName;

    /** 主附险标识 M主险 A附加险 */
    @Excel(name = "主附险标识 M主险 A附加险")
    private String riskType;

    /** 险种大类[人身险 财产险(非车) 车险] */
    @Excel(name = "险种大类[人身险 财产险(非车) 车险]")
    private String riskCatalog;

    /** 分类 */
    @Excel(name = "分类")
    private Long insCatalogId;

    /** 条款文字编码，对应保险条款二维码上的中文标识编码 */
    @Excel(name = "条款文字编码，对应保险条款二维码上的中文标识编码")
    private String clauseCode;

    /** 保险产品条款文档URL */
    @Excel(name = "保险产品条款文档URL")
    private String clauseUrl;

    /** 是否可以录单Y/N */
    @Excel(name = "是否可以录单Y/N")
    private String inputFlag;

    /** 是否可以销售Y在售N停售 */
    @Excel(name = "是否可以销售Y在售N停售")
    private String saleFlag;

    /** 租户id,一个租户id唯一对一个机构id（默认机构id为根节点id暨法人机构） */
    @Excel(name = "租户id,一个租户id唯一对一个机构id", readConverterExp = "默=认机构id为根节点id暨法人机构")
    private Long tenantId;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public Long getRepoSupplierId() {
        return repoSupplierId;
    }

    public void setRepoSupplierId(Long repoSupplierId) {
        this.repoSupplierId = repoSupplierId;
    }

    public String getInsGuid() {
        return insGuid;
    }

    public void setInsGuid(String insGuid) {
        this.insGuid = insGuid;
    }

    public String getInsCode() {
        return insCode;
    }

    public void setInsCode(String insCode) {
        this.insCode = insCode;
    }

    public void setRiskName(String riskName)
    {
        this.riskName = riskName;
    }

    public String getRiskName() 
    {
        return riskName;
    }
    public void setRiskShortName(String riskShortName) 
    {
        this.riskShortName = riskShortName;
    }

    public String getRiskShortName() 
    {
        return riskShortName;
    }
    public void setRiskType(String riskType) 
    {
        this.riskType = riskType;
    }

    public String getRiskType() 
    {
        return riskType;
    }
    public void setRiskCatalog(String riskCatalog) 
    {
        this.riskCatalog = riskCatalog;
    }

    public String getRiskCatalog() 
    {
        return riskCatalog;
    }
    public void setClauseCode(String clauseCode) 
    {
        this.clauseCode = clauseCode;
    }

    public String getClauseCode() 
    {
        return clauseCode;
    }
    public void setClauseUrl(String clauseUrl) 
    {
        this.clauseUrl = clauseUrl;
    }

    public String getClauseUrl() 
    {
        return clauseUrl;
    }
    public void setInputFlag(String inputFlag) 
    {
        this.inputFlag = inputFlag;
    }

    public String getInputFlag() 
    {
        return inputFlag;
    }
    public void setSaleFlag(String saleFlag) 
    {
        this.saleFlag = saleFlag;
    }

    public String getSaleFlag() 
    {
        return saleFlag;
    }
    public void setTenantId(Long tenantId)
    {
        this.tenantId = tenantId;
    }

    public Long getTenantId() 
    {
        return tenantId;
    }

    public Long getInsCatalogId() {
        return insCatalogId;
    }

    public void setInsCatalogId(Long insCatalogId) {
        this.insCatalogId = insCatalogId;
    }

    public String getChannelCode() {
        return channelCode;
    }

    public void setChannelCode(String channelCode) {
        this.channelCode = channelCode;
    }

    public String getSupplierInsCode() {
        return supplierInsCode;
    }

    public void setSupplierInsCode(String supplierInsCode) {
        this.supplierInsCode = supplierInsCode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("repoSupplierId", getRepoSupplierId())
            .append("riskName", getRiskName())
            .append("riskShortName", getRiskShortName())
            .append("riskType", getRiskType())
            .append("riskCatalog", getRiskCatalog())
            .append("clauseCode", getClauseCode())
            .append("clauseUrl", getClauseUrl())
            .append("inputFlag", getInputFlag())
            .append("saleFlag", getSaleFlag())
            .append("createId", getCreateId())
            .append("createTime", getCreateTime())
            .append("updateId", getUpdateId())
            .append("updateTime", getUpdateTime())
            .append("isDeleted", getIsDeleted())
            .append("tenantId", getTenantId())
            .toString();
    }
}
